feat(cli): setup neon#1762
Conversation
✅ Deploy Preview for cedarjs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run-many -t test --minWorkers=1 --maxWorkers=4 |
✅ Succeeded | 1m 33s | View ↗ |
nx run-many -t test:types |
✅ Succeeded | 10s | View ↗ |
nx run-many -t build |
✅ Succeeded | 6s | View ↗ |
nx run-many -t build:pack --exclude create-ceda... |
✅ Succeeded | 2s | View ↗ |
☁️ Nx Cloud last updated this comment at 2026-05-13 07:54:08 UTC
Greptile SummaryThis PR adds a
Confidence Score: 5/5Safe to merge — all the significant correctness issues from earlier review rounds are addressed in this revision. The task pipeline correctly guards every skip branch, validates the pooler connection string before deriving the direct URL, uses a dual-quote regex to patch prisma.config, protects against unsupported providers, and passes DIRECT_DATABASE_URL explicitly to the migration subprocess. No logic gaps that would produce wrong state or silent failures were found. No files require special attention; the two suggestions are minor naming and formatting nits. Important Files Changed
Reviews (9): Last reviewed commit: "Docs update and code formatting" | Re-trigger Greptile |
- Add equality check after deriving DIRECT_DATABASE_URL from pooler URL - Change adapter/config skip conditions to check for PrismaPg presence - Guard addWorkspacePackages against unsupported providers Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
…y configured When DATABASE_URL exists without --force, provisioning is skipped so DIRECT_DATABASE_URL is never written. Updating prisma.config to reference DIRECT_DATABASE_URL in this state breaks subsequent migrations. Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
|
The changes in this PR are now available on npm. Try them out by running Or try it in a new app with |
Add setup command for using a new Neon Postgres database --------- Co-authored-by: CommandCodeBot <noreply@commandcode.ai>

Add setup command for using a new Neon Postgres database